package com.tg.clients;

import com.tg.pojo.resposeVo.BaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "tg-train",path = "/train")
public interface TicketClients {

    @RequestMapping("/findById")
    public BaseResp findById(@RequestParam("id") Integer id);
}
